package com.ht.demo.common.enums;

/**
 * @Author hdengxian
 * @Date 2023/7/31 10:25
 */

public enum LoginStatusEnum {
    LOGIN_SUCCESS("1", "登录成功"),
    LOGOUT("2", "退出登录"),
    LOGIN_FAIL("3", "登录失败"),
    REGISTER("4", "注册"),

    ;

    private String code;
    private String desc;

    LoginStatusEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
